import bb.cascades 1.0

Page {
    titleBar: TitleBar {
            id: titleBar
            visibility: ChromeVisibility.Visible
            title: lang.help_home
        }
    Container {
        
        Container {
            maxHeight: 600
            horizontalAlignment: HorizontalAlignment.Center
            topPadding: 50
            layout: StackLayout {
                orientation: LayoutOrientation.LeftToRight
            }
            ImageView {
//                maxWidth: 300
                scalingMethod: ScalingMethod.AspectFit
                imageSource: "asset:///images/help/home0.png"
            }
//            ImageView {
//                imageSource: "asset:///images/picture1.png"
//            }
        }
        Container {
            topPadding: 50
            horizontalAlignment: HorizontalAlignment.Center
            Label {
                multiline: true
                text: lang.help_home_description
            }
        }
        Container {
            topPadding: 50
            horizontalAlignment: HorizontalAlignment.Center
            Button {
                text: lang.next
                
                onClicked:{
                    var helpbpage = helpb.createObject();
                    homeNavigation.push(helpbpage);
                }
            }
        }
    }
    
    attachedObjects: [
        ComponentDefinition {                      
            id: helpb                       
            source: "HelpB.qml"
        }
    ]
}
